﻿using BonjourQuotation.UI.Models.BaseModel;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Web;
using System.Web.WebPages.Html;

namespace BonjourQuotation.UI.Models.SetupModel
{
    public class SetupCitiesGridViewModel : UserAllPermissionsViewModel
    {
        public List<SetupCitiesGridRowViewModel> Rows { get; set; }
        [DisplayName("City:")]
        public string CityText { get; set; }
        public int CityID { get; set; }
        public List<SelectListItem> CountryID { get; set; }
        public string SelectedCountry { get; set; }
        [DisplayName("Country:")]
        public string SelectedCountryText { get; set; }
        public List<SelectListItem> StateID { get; set; }
        public string SelectedState { get; set; }
        [DisplayName("State:")]
        public string SelectedStateText { get; set; }
        [DisplayName("Active:")]
        public List<SelectListItem> ActiveSearch { get; set; }
        public bool? IsActiveSearch { get; set; }
        public bool IsDelete { get; set; }
        public int PageNum { get; set; }
        public bool IsSearch { get; set; }
        public bool IsCanView { get; set; }
        public string Message { get; set; }
    }
    public class SetupCitiesGridRowViewModel
    {
        public int CityID { get; set; }
        [DisplayName("City:")]
        public string City { get; set; }
        [DisplayName("Active:")]
        public bool IsActive { get; set; }
        public List<SelectListItem> StateID { get; set; }
        [DisplayName("State:")]
        public string SelectedStateID { get; set; }
        public List<SelectListItem> CountryID { get; set; }
        [DisplayName("Country:")]
        public string SelectedCountryID { get; set; }
        public string Message { get; set; }
    }
}